package me.zhengjie.modules.protocol.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.base.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author wutong
 * @date 2024-12-06
 * @description 协议推广任务量
 */

@Data
@TableName("oms_agreement_product_pop_task")
public class AgreementProductPopTask extends BaseEntity implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID", hidden = true)
    private Long id;

    @ApiModelProperty(value = "协议ID")
    private Long agreementId;

    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ApiModelProperty(value = "保证金")
    private BigDecimal bondPrice;

    @ApiModelProperty(value = "计算口径")
    private String calMethod;

    @ApiModelProperty(value = "任务总量")
    private BigDecimal taskAmount;

}
